using System;
using System.Runtime.InteropServices;
namespace BMC.ARSystem
{
	[ARStructTypeInfo(Name = "ARStatusStruct", NumberOfMembers = 4u), ClassInterface, Guid("f1c9aa38-38f2-433e-a6d2-8f6bde4a0123"), ProgId("BMC.ARSystem.Status")]
	public class Status
	{
		[Guid("1756033b-51a9-4279-8877-c92e049b12fe")]
		public enum MessageTypes
		{
			OK,
			Warning,
			Error,
			Fatal,
			BadStatus,
			Prompt,
			Accessible
		}
		[ARStructMemTypeInfo(Name = "messageType", Offset = 0u)]
		private uint _messageType;
		[ARStructMemTypeInfo(Name = "messageNum", Offset = 1u)]
		private int _messageNum;
		[ARStructMemTypeInfo(Name = "messageText", Offset = 2u)]
		private string _messageText;
		[ARStructMemTypeInfo(Name = "appendedText", Offset = 3u)]
		private string _appendedText;
		public Status.MessageTypes MessageType
		{
			get
			{
				return (Status.MessageTypes)this._messageType;
			}
			set
			{
				this._messageType = (uint)value;
			}
		}
		public int MessageNumber
		{
			get
			{
				return this._messageNum;
			}
			set
			{
				this._messageNum = value;
			}
		}
		public string MessageText
		{
			get
			{
				return this._messageText;
			}
			set
			{
				this._messageText = value;
			}
		}
		public string AppendedText
		{
			get
			{
				return this._appendedText;
			}
			set
			{
				this._appendedText = value;
			}
		}
		public override string ToString()
		{
			return string.Format("{0} ({1}): {2};{3}", new object[]
			{
				this.MessageType,
				this.MessageNumber,
				this.MessageText,
				this.AppendedText
			});
		}
	}
}
